gtk-demo: Add a warning to the colors demo
authorMatthias Clasen <mclasen@redhat.com>
Mon, 22 Jun 2020 11:43:47 +0000 (07:43 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 22 Jun 2020 11:43:47 +0000 (07:43 -0400)
Explain that the big sizes cause lockups.

demos/gtk-demo/listview_colors.c

index 37034abf780848c790f1233ccbad28a9de303d01..9c3841f6a58c867d1ad6585e7288ddb910184f3d 100644 (file)
@@ -1,12 +1,17 @@
 /* Lists/Colors
  *
- * This demo displays a list of named colors.
+ * This demo displays a grid of colors.
  *
  * It is using a GtkGridView, and shows how to display
  * and sort the data in various ways. The controls for
  * this are implemented using GtkDropDown.
  *
- * The dataset used here has 9 283 items.
+ * The dataset used here has up to 16 777 216 items.
+ *
+ * Note that this demo also functions as a performance
+ * test for some of the list model machinery, and biggest
+ * sizes here can lock up the application for extended
+ * times when used with sorting.
  */
 
 #include <gtk/gtk.h>